package com.example.ShoppingManagementSystem.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import com.example.ShoppingManagementSystem.entity.Product;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductRepository extends JpaRepository<Product, Integer>{
    Product findByName(String name);
}
